package com.community.web.master.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@ApiModel(value = "带区域名的商店", description = "")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreWithAreaVo {

    @ApiModelProperty(value = "门店id")
    private Integer id;

    @ApiModelProperty(value = "区域id")
    private Integer areaId;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "门店编号")
    private String storeNo;

    @ApiModelProperty(value = "门店名称")
    private String storeName;

    @ApiModelProperty(value = "详细地址")
    private String storeAddress;

    @ApiModelProperty(value = "最大经度")
    private Double maxLongitude;

    @ApiModelProperty(value = "最大纬度")
    private Double maxLatitude;

    @ApiModelProperty(value = "最小经度")
    private Double minLongitude;

    @ApiModelProperty(value = "最小纬度")
    private Double minLatitude;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "门店介绍")
    private String storeIntroduce;

    @ApiModelProperty(value = "开始营业时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "停止营业时间")
    private LocalDateTime closeTime;

    @ApiModelProperty(value = "1营业，2停业")
    private Integer storeStatus;


    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
